package com.test.dao;

import com.test.entity.*;
import org.apache.ibatis.annotations.DeleteProvider;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.annotations.UpdateProvider;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ManagerOperatDao {

    @SelectProvider(type=ManagerOperatProvider.class,method="selectAlltea")
    List<TeaAllInfoDto> selectAlltea(TeaAllInfoDto teaAllInfoDto);

    @SelectProvider(type=ManagerOperatProvider.class,method="selectAllcomp")
    List<CompAllInfoDto> selectAllcomp(CompAllInfoDto compAllInfoDto);

    @UpdateProvider(type=ManagerOperatProvider.class,method="disableUser")
    int disableUser(String u_acount);

    @UpdateProvider(type=ManagerOperatProvider.class,method="enableUser")
    int enableUser(String u_acount);

    @SelectProvider(type=ManagerOperatProvider.class,method="selectTeaByStuCode")
    List<TeaAllInfoDto> selectTeaByStuCode(String u_acount);

    @SelectProvider(type=ManagerOperatProvider.class,method="selectCompByCode")
    List<CompAllInfoDto> selectCompByCode(String u_acount);

    @SelectProvider(type=ManagerOperatProvider.class,method="selectPeidata")
    List<Map<String,Object>> selectPeidata();


    @SelectProvider(type=ManagerOperatProvider.class,method="SelectEmploymentRanking")
    List<Map<String,Object>> SelectEmploymentRanking();


    @SelectProvider(type=ManagerOperatProvider.class,method="SelectEmploymentAddress")
    List<Map<String,Object>> SelectEmploymentAddress();

    @SelectProvider(type=ManagerOperatProvider.class,method="SelectcollegeProportionPei")
    List<Map<String,Object>> SelectcollegeProportionPei();


    @SelectProvider(type=ManagerOperatProvider.class,method="SelectcollegeJobProportionPei")
    List<Map<String,Object>> SelectcollegeJobProportionPei();

    @SelectProvider(type=ManagerOperatProvider.class,method="SelectcollegeFurtherProportionPei")
    List<Map<String,Object>> SelectcollegeFurtherProportionPei();


    @InsertProvider(type=ManagerOperatProvider.class,method="submitNewsPortal")
    int submitNewsPortal(NewsPortalDto newsPortalDto);

    @SelectProvider(type=ManagerOperatProvider.class,method="selectAllNewsPortal")
    List<NewsPortalDto> selectAllNewsPortal(String news_headline);

    @SelectProvider(type=ManagerOperatProvider.class,method="selectAllemploymentRanking")
    List<Map<String,Object>> selectAllemploymentRanking();


    @SelectProvider(type=ManagerOperatProvider.class,method="selectAllentreprisesNews")
    List<ReleaseJobDto> selectAllentreprisesNews();


    @SelectProvider(type=ManagerOperatProvider.class,method="selectAllentreprisesNewsByName")
    List<ReleaseJobDto> selectAllentreprisesNewsByName(String recruit_updatetimeStr,String recruit_name);

}
